.pl 29.7c
.\\" $Id: smdisp.1,v 1.3 2004/07/11 08:04:47 bhepple Exp $
.TH SMDISP 1 "Tue Nov 3 1992" "\&\(co Bob Hepple"
.UC 4
.SH NAME
smdisp \- run a program every X seconds and show the results via a curses updated screen
.SH SYNOPSIS
.B smdisp
[
.B \-t interval
]
[
.B \-i
]
[
.B \-l last_line
]
[
.B \-h
]
command
.SH DESCRIPTION
.B smdisp
runs the
.I command
every
.I interval
seconds and displays the result on the screen using 
.B
curses
.SH OPTIONS
.TP
.B -h
gives the head of the file
.TP
.B -i
ignores the 'q' key
.TP
.B -t interval
set the update interval to t seconds (default 1)
.TP
.B -l last_line
Set the last line to be displayed - sort of a scrolling operation.
.SH INTERACTIVE CONTROL
While
.B smdisp
is running, the following keys are operative:
.TP
.B 1 a ^A
Start of display
.TP
.B $ e ^E
End of display
.TP
.B k ^K p ^P
Back one line
.TP
.B j ^J n ^N
Forward one line
.TP
.B u ^U
Back one page
.TP
.B d ^D v ^V Space
Forward one page
.TP
.B q
Quit (unless the -i option was given)
.TP
.B ^C
Quits
.SH EXAMPLES
.B smdisp ps ax
runs the ps command every second - a bit like
.B top
only you can scroll the display up and down
.SH "SEE ALSO"
Postscript version of these man pages which have screenshots -
probably in /usr/share/doc/scrmgr-X.Y.
.LP
.so smdisp.lst
.SH AUTHOR
Bob Hepple <bhepple@freeshell.org>
.SH COPYRIGHT
Copyright \(co 1991-2002 Bob Hepple
